<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>demo form</title>
</head>
<body>

<form action="${pageContext.request.contextPath}/form" method="post">
	username:<input type="text" name="username"/>
	<br>
	password:<input type="text" name="password"/>
	<br>
	address1:<input type="text" name="address"/>
	<br>
	address2:<input type="text" name="address"/>
	<br>
	<input type="submit" value="提交"/>
	<br>
</form>

</body>
</html>